package com.kate.mall.bff.wx.controller.form;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName SearchMessageForm
 * @Description TODO
 * @Author 新梦想.陈超
 * @Date 10:03 下午 2023/9/19
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
public class SearchMessageForm implements Serializable {
    @NotNull
    @Min(value = 1)
    private Integer page;
    @NonNull
    @Min(value = 1)
    private Integer length;;
    @NonNull
    private String id;
}
